//Samantha Midkiff
/* -----------------------------------------------------------------------
 * Include the following lines in your makefile:
 *
 * unittest3: unittest3.c dominion.o rngs.o
 *      gcc -o unittest3 -g  unittest3.c dominion.o rngs.o $(CFLAGS)
 * -----------------------------------------------------------------------
 */

#include "dominion.h"
#include "dominion_helpers.h"
#include <string.h>
#include <stdio.h>
#include <assert.h>
#include "rngs.h"

// set NOISY_TEST to 0 to remove printfs from output
#define NOISY_TEST 1

int main()
{
#if (NOISY_TEST == 1)
        printf("Testing fullDeckCount:\n");
#endif
        int k[10] = {adventurer, council_room, feast, gardens, mine,
                remodel, smithy, village, baron, great_hall};

        struct gameState g;
        int expected, p = 0;

        initializeGame(2, k, 1, &g);

        g.handCount[p] = 5;
        g.deckCount[p] = 5;
        g.discardCount[p] = 5;
        expected = 15;  
        myAssert(fullDeckCount(p, 0, &g), expected);

#if (NOISY_TEST == 1)
        printf("Deck count passed\n"); 
#endif
return 0;

}



